package pattern.state;

import java.util.ArrayList;

public class Main {

    public static void main(String[] args) {

        OrderContext orderContext = new OrderContext();

        orderContext.setState(new NewOrderState());

        orderContext.setState(new PayOrderState());

        orderContext.setState(new SendOrderState());


    }
}
